﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 权限
/// </summary>
public partial class SPower
{
    /// <summary>
    /// 权限id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 权限父级id
    /// </summary>
    public uint Pid { get; set; }

    /// <summary>
    /// 权限名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 控制器名称
    /// </summary>
    public string Control { get; set; } = null!;

    /// <summary>
    /// 方法名称
    /// </summary>
    public string Action { get; set; } = null!;

    /// <summary>
    /// 排序
    /// </summary>
    public byte Sort { get; set; }

    /// <summary>
    /// 是否显示（0否，1是）
    /// </summary>
    public byte IsShow { get; set; }

    /// <summary>
    /// 图标class
    /// </summary>
    public string Icon { get; set; } = null!;

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }
}
